package com.shierke.Ume.ui.activity.me

import android.content.Context
import android.os.Bundle
import com.shierke.Ume.R
import com.shierke.Ume.base.BaseActivity
import com.shierke.Ume.util.click
import com.shierke.Ume.util.startActivity
import kotlinx.android.synthetic.main.activity_setting_main.*

/**
 * Create by Ybx
 * on 2020-10-26
 * Desribe:
 */
class SettingMainActivity : BaseActivity() {

    companion object {
        fun startActivity(context: Context) {
            context.startActivity<SettingMainActivity>()
        }
    }

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)

        setContentView(R.layout.activity_setting_main)
        setActivityTitleText(getString(R.string.me_setting_main_activity_title))




        account.click { MyProfileActivity.startActivity(this) }

        imageAccount.click { SettingAccountActivity.startActivity(this) }

        imageNotication.click { SettingNotificationActivity.startActivity(this) }


        imageAbout.click { AboutUsActivity.startActivity(this) }

        black.click { BlackListActivity.startActivity(this) }

        clear.click { SettingDiscoveryActivity.startActivity(this) }

    }


}